added more tests to the user model
finished user unit tests