Fix the stubbing of the geocoder in tests of views

The previous attempt to stub the geocoder from tests of the search
views didn't work at all - i.e. it still was calling the Google API.
This commit fixes that.