Add tests for async transitions