Add test for async exception propagation.