I make this check in order to assert that after the save function the attributes of the user object are not changing.