Fix tests file paths to make them work in subproject builds