This block of assertions is fairly similar across several of these tests.  I could factor these out into a helper function which does the assertions based on inputs.  Does the tradeoff in code re-use vs. in-line readability seem to make sense here?