Test emulator