erase handler test