Check data with extra parameters by the right way

Length-checking asserts are replaced to the appropriate assert methods,
assertURLEqual() and assertFormBodyEqual(), introduced in
e2db7dd548dc286001e1fc9f43caef1501d2c926.