Added batch test case
Added async example