tests: refactor helper methods for creating test repos
uuid.uuid4() for generating a repo with random name