Added working test emulator.