Testing DeleteFactory