の検査を

an examination of …

→ の
phrase Rare #20,873
an examination of … の connects the examination to the thing being examined, and を marks it as the object of the sentence.
JA: 来週、目の検査を受けます。
EN: I’m having an eye examination next week.

明日もう一度あなたの検査をしたいのですが。

I'd like to examine you again tomorrow.

眼の検査をしてもらった方がいいよ。

You should get your eyes checked.

脳の検査をしてもらった方がいいですよ。

You should get your brain checked out.

目の検査をしてもらうつもりなんだ。

I'm planning to get my eyes examined.

私は眼の検査をしてもらった。

I had my eyes examined.

医者は貧血の検査をするためサンプルを分析した。

The doctor analyzed the sample to test for anemia.