diff --git a/sendgrid/helpers/inbound/send.py b/sendgrid/helpers/inbound/send.py
index d786f67..9cbb5aa 100644
--- a/sendgrid/helpers/inbound/send.py
+++ b/sendgrid/helpers/inbound/send.py
@@ -26,17 +26,16 @@ class Send(object):
             "Content-Type": "multipart/form-data; boundary=xYzZY"
         }
         client = Client(host=self.url, request_headers=headers)
-        f = open(payload_filepath, 'r')
-        data = f.read()
-        return client.post(request_body=data)
+        with open(payload_filepath, 'r') as f:
+            data = f.read()
+            return client.post(request_body=data)
 
     @property
     def url(self):
         """URL to send to."""
         return self._url
 
-
-if __name__ == '__main__':
+def main():
     config = Config()
     parser = argparse.ArgumentParser(description='Test data and optional host.')
     parser.add_argument('data',
@@ -52,3 +51,6 @@ if __name__ == '__main__':
     print(response.status_code)
     print(response.headers)
     print(response.body)
+
+if __name__ == '__main__':
+    main()
\ No newline at end of file
diff --git a/tox.ini b/tox.ini
index d3e8924..9336a97 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,12 +19,14 @@ commands = coverage erase
            coverage run {envbindir}/unit2 discover -v []
            coverage report
 deps = unittest2
+       mock
        {[testenv]deps}
 basepython = python2.6
 
 [testenv:py27]
 commands = {[testenv]commands}
 deps = {[testenv]deps}
+       mock
 basepython = python2.7
 
 [testenv:py34]

Add tests for Send.py
#### Issue Summary

CodeCov is showing that we're missing some testing on send.py. 
[Please see their page and add some tests](https://codecov.io/gh/sendgrid/sendgrid-python/compare/db608f74fbbb4b1d4d71c644da9614de6ed900e3...86abbc199800fefe9114cab7535d28a8114cca78/src/sendgrid/helpers/inbound/send.py)
diff --git a/test/test_send.py b/test/test_send.py
new file mode 100644
index 0000000..16d496b
--- /dev/null
+++ b/test/test_send.py
@@ -0,0 +1,42 @@
+import argparse
+from sendgrid.helpers.inbound import send
+
+try:
+    import unittest2 as unittest
+except ImportError:
+    import unittest
+
+try:
+    import unittest.mock as mock
+except ImportError:
+    import mock
+
+
+class UnitTests(unittest.TestCase):
+    def setUp(self):
+        self.client_mock = mock.patch('sendgrid.helpers.inbound.send.Client')
+        self.open_mock = mock.patch('sendgrid.helpers.inbound.send.open',
+                                    mock.mock_open(), create=True)
+        self.client_mock.start()
+        self.open_mock.start()
+
+    def tearDown(self):
+        self.client_mock.stop()
+        self.open_mock.stop()
+
+    def test_send(self):
+
+        fake_url = 'https://fake_url'
+        x = send.Send(fake_url)
+        x.test_payload(fake_url)
+
+        send.Client.assert_called_once_with(host=fake_url, request_headers={'User-Agent': 'SendGrid-Test',
+                                                                            'Content-Type': 'multipart/form-data; boundary=xYzZY'})
+
+    def test_main_call(self):
+        fake_url = 'https://fake_url'
+
+        with mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(host=fake_url, data='test_file.txt')):
+            send.main()
+            send.Client.assert_called_once_with(host=fake_url, request_headers={'User-Agent': 'SendGrid-Test',
+                                                                                'Content-Type': 'multipart/form-data; boundary=xYzZY'})

pip install -e .
parse_log_pytest
requirements.txt
tox pytest
apt-get update apt-get install -y gcc
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
dataclasses==0.8
distlib==0.3.9
filelock==3.4.1
Flask==0.10.1
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
itsdangerous==2.0.1
Jinja2==3.0.3
MarkupSafe==2.0.1
packaging==21.3
platformdirs==2.4.0
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
python-http-client==3.3.7
PyYAML==3.11
-e git+https://github.com/sendgrid/sendgrid-python.git@a403813a9f4e95f8695b9a4a547dfbcedccc8671#egg=sendgrid
six==1.17.0
toml==0.10.2
tomli==1.2.3
tox==3.28.0
typing_extensions==4.1.1
virtualenv==20.17.1
Werkzeug==2.0.3
zipp==3.6.0

name: sendgrid-python
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - dataclasses==0.8
      - distlib==0.3.9
      - filelock==3.4.1
      - flask==0.10.1
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - itsdangerous==2.0.1
      - jinja2==3.0.3
      - markupsafe==2.0.1
      - packaging==21.3
      - platformdirs==2.4.0
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - python-http-client==3.3.7
      - pyyaml==3.11
      - six==1.17.0
      - toml==0.10.2
      - tomli==1.2.3
      - tox==3.28.0
      - typing-extensions==4.1.1
      - virtualenv==20.17.1
      - werkzeug==2.0.3
      - zipp==3.6.0
prefix: /opt/conda/envs/sendgrid-python

test/test_send.py::UnitTests::test_main_call
test/test_send.py::UnitTests::test_send
sendgrid/helpers/inbound/send.py tox.ini
sendgrid/helpers/inbound/send.py tox.ini