detect: fix paths for test samples