test delete if statement