use thrown? or thrown-cause? in test