tests: checkout method of Repository class