Add tests for ProjectService's resolveProject and resolvePackage