test deleted state