have found a way to write testGetInstruction() which relies on the
toString() of each subclass of Instruction. (Probably a better way of
doing this but I don't know what it is).