fix tests broken by change in error format
Merge pull request #1020 from cldwalker/fix-new-tests

fix tests broken by change in error format