create method for repository and fixed project repositories_of test