dedupe TestVoltCompiler code