Added unit test for User Object