Added deletedFlag option test