Fix @test_throws deprecation warning
Merge pull request #15 from staticfloat/sf/testhrows

Fix @test_throws deprecation warning