Unit test the dodgy functionality

Refs #10671