added tests for encode/decode url param methods.