test entity delete