Test error modes for asynchronous custom assertions