fix a bunch of problems with the regression tests that I introduced yesterday.  should be in good shape today...