test(emulator): use first emulator if specified one doesn't exist
fix: add underscore as dependency