This test function is getting kind of long.  Smaller makes errors a little easier to find.