Added tests for User.generate_password and is_existing.
I should probably consider  moving the generate_password to the
UserManager? I'm not entirely sure that static methods belong in a model