progress on allowing ES searching alongside exisiting search

Add test=es to the url