delete automaton test