Update tests to handle maxmind_local specifics.

The result of the lookup in maxmind_local is stored at test/test_helper.rb to avoid the inclusion of maxmind's database in repository.