Fixed a number of tests that didn't handle the programCount == 1 case correctly.
This was one instance of the C-style array/pointer duality that was missed the first time around.