testing with emulator