Update throw tests for changed exception