Fix ordering of search-engine selection in specs (and add tests to verify it's working right!)

@botandrose discovered that the ordering was wrong - I've cherry-picked his tests from calagator/calagator#170 that verify it, and made 'em pass by fixing the ordering (by using "around" in both places).