Series of changes to be able to run tests in different setups. Previously, some of the tests were too tight and coupled to a specific instance. Changes are:

(1) Ordering of the JSON serialization for JSOn structure comparison
(2) Changed some of the Search tests related to weights that can widely change from server to server depending on what else is indexed in Solr