JC: specs pass. All test data in factories. Removed constant search_stat_config cause it was loaded during initialize and search_stat_config in factores loaded AFTER initialize which causes no data error in spec. Now the search stat config is loaded with search method added in commonx.