UserRepositoryTest fixed