repair test entity