fixed delete entity test