(specifically, make sure args are not NULL). If the expected value is not the right length, include the value found in the error message, to make problems easier to diagnose.
actual test code. Not pretty & lacking in internal documentation, but allows the test code to be a bit more readable.