Updated tests to test sync and async calling.
Updated dependencies and regenerated api.