fix test path resolution