Fix search panel test populateSearchEngines()

Add getJSON to mockLazyLoader
Use mockLazyLoader and sinon.spy() instead of sinon.useFakeXMLHttpRequest()
Delay some tests until getJSON promise is marked done