tests for the 6850 ACIA and fixes in ACIA behavior