Add hardware acceleration to emulator for tests