Add new StackMachineListener test cases