added basic test for User class