rel_path, manifest, and test refactoring