added test on delete