test entity filter for line