Fix medPluginGeneratorTest integration in CTest