test entity framework