new_contents: from django.test import SimpleTestCase
  from django.contrib.gis import geos
  
  from spillway import forms
  
  
  class GeometryQueryFormTestCase(SimpleTestCase):
      def test_data(self):
          form = forms.GeometryQueryForm({'srs': 3857})
          self.assertTrue(form.is_valid())
          self.assertEqual(form.cleaned_data['srs'].srid, 3857)
  
  
  class SpatialQueryFormTestCase(SimpleTestCase):
      def test_data(self):
          data = {'bbox': '-120,38,-118,42'}
          poly = geos.Polygon.from_bbox(data['bbox'].split(','))
          self.expected = {'geom': None, 'bboverlaps': poly}
          form = forms.SpatialQueryForm(data)
          self.assertTrue(form.is_valid())
          self.assertEqual(form.cleaned_data, self.expected)
  
      def test_intersects(self):
          poly = geos.Polygon.from_bbox((0, 0, 10, 10))
          self.expected = {'intersects': poly, 'bbox': []}
          data = {'intersects': poly.geojson}
          form = forms.SpatialQueryForm(data)
          self.assertTrue(form.is_valid())
          self.assertEqual(form.cleaned_data, self.expected)
  
subject: Add form tests