Remove unecessary test.

Closes #9194.