test for model delete with keyPath specified