Add emulator to run tests on travis tests