Runs also the selftest in the emulator.