MDL: better handling of errors in url parsing
add unordered array comparisons
change tests to use unordered compare as needed