delete test rewrite