Refactored tests
Added test to ensure api object is a field
Updated test to see if obj._api is api.Api
Greenlit ensuring api object is of type api.Api
Added test to ensure base url is correct
Greenlit ensure correct api url