Add test on UserRepository