Adding unit test to User Model