Implemented specs for testing the new async API.