Made sure to wait for emulator before running tests