Also add marshalCheckRequest(), a helper function which prints the first differences found between the two strings to aid in debugging test failures.