modified delete test