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.
Merge pull request #1202 from ktdreyer/assert-raises

tests: use assert_raises