Tests for executeInstruction.