Refs #9371 Restructuring test slightly

A test needed moving inot a new class

Discovered i was missing system.h from includes as i needed it for the DLLExport