tests: use assert_raises

`assert_raise` was a Test::Unit function that is not available in Minitest. Switch to the newer Minitest syntax, `assert_raises`.

This matches all the other `assert_raises` calls within the test suite.