Added more async tests.
More work on unit tests.