improve delete test