Pushed the TroupeRepositoryTest to being a unit test rather than an
integration test.