Complete unit tests on UserModel