pass thru $simplexml_mode to do_test
Fix array sorting for considered_equal test