Use a 'TestLibrariesDirectory' property in the project files, which is rewritten correctly when a project is cloned.