Updated tests for the new API app which replaces batch. Also, corrected some PEP-8 issues and error handling
removed batch namespace
Merge pull request #176 from DarthDippy/new_endpoint_unittests

Updated tests for the new API app which replaces batch. Also, corrected ...