Added config setting for api base address
Added a test for when the api returns 404