delete error test