Update tests for new test_throws syntax