simple unit test for User