testGetRegisters() in MachineTest passes.
testGetProg() in MachineTest passes.