text: Title: Add unit tests for `test_get_specs.py` and `test_run.py` 
  Body: [test_get_specs.py](https://github.com/scanapi/scanapi/blob/main/tests/unit/tree/endpoint_node/test_get_specs.py) and [test_run.py](https://github.com/scanapi/scanapi/blob/main/tests/unit/tree/endpoint_node/test_run.py) both require unit tests which is also being flagged in our [static analysis](https://deepsource.io/gh/scanapi/scanapi/issue/PYL-W0511/occurrences?page=1). 
  
  [ScanAPI Writing Tests Documentation](https://github.com/scanapi/scanapi/wiki/Writing-Tests)
  
  