fix missing expected exception in extras/test.jl
Merge pull request #2061 from HarlanH/testwork2

fix missing expected exception in extras/test.jl