fix(async tests): Catch errors in the async calls