updated API tests

- these tests are to verify that the production server displays error 500 when invalid/missing parameters are passed to the API. These will have to be run in Jenkins after releasing to prod.