Had forgotten to initialize switch state.
Setting internal switch id of faulty switch.
Fixed bug: did not realize that nextInt by itself could return
negative numbers.  This meant that test was not issuing calls
single_op calls to switches when I thought it was.