tests that updated_at is set