Looks good, but it will work only once. If I run it twice, the second execution will fail, because a repository with this name (`test-repo`) already exists. There are two options: 1) generate a unique name on every test run, using `RandomStringUtils`, for example, 2) delete the repository after test execution in `finally` block. I would recommend to use both options.