cpu_test now terminates when it is out of instructions