test entity filter for agent