fixed unit test that was causing the emulator to hang