added a new test case for emulator detection