addings tests for updating user