[#47] 8080-cpu: Separated emulation from plugin, added test