fixes; test emulator before trying to run jail