Add unit test for User