move hacky, unsupported logic to the TplTestPlatformHelper class which already has quite a few reflection-powered mechanism