Add basic tests for the User class