Fix accidental hard-coding of check for ArgumentError in assert_raises