miner emulator test fixes