corrected the specs for object_exists. addded specs for flush_deletes