Add tests for user model and change password implementation