Added tests for HashMapUserRepository.