Assert update_attributes behaves as expected