Implement more complete set of unit tests and validations. Testing needs to be significantly expanded. Perhaps validate output by checking CPU state after simulated run rather than comparing output source?