diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb
index a2a30eaccce2fde4443235199a4c95a76f368549..d54ff20e8b78729ccdc321660c234946d2ff9ca9 100644
--- a/test/unit/query_test.rb
+++ b/test/unit/query_test.rb
@@ -56,4 +56,10 @@ class QueryTest < GeocoderTestCase
     assert !query.ip_address?
     assert_equal Geocoder::Lookup::Google, query.lookup.class
   end
+
+  def test_force_specify_ip_address_with_ip_lookup
+    query = Geocoder::Query.new("address", {:ip_address => true, :ip_lookup => :google})
+    assert !query.ip_address?
+    assert_equal Geocoder::Lookup::Google, query.lookup.class
+  end
 end