refactored TestAPITest to conform mule-connector-test framework