made delaytest compatible with the emulator