test NoDefault, encode_params, stringify

to review, and not finished yet (missing the tests for json_method and line 105 in make_pattern)