Added unflag tests