Testing completed for User class