The tests failed to catch problems caused by the ceres-sparse-array changes.

Updates the tests (and provides basic summarize coverage) to handle and
assert specifically for the sparse array cases.