fix raises tests