fix test to conform new behaviour of `update_attributes`