Added async test helper class and tests for that.