Changed assert_raises to use old-style call.