test: add test for isAsyncFunction() helper