DEV: Remove duplicate test (PR #12989)

I think this test was duplicated on accident. We test for the exact thing a few lines up.

GitHub