fix test broken for OSX; use constants when comparing error messages
Merge pull request #2 from mstump/master

Compare against constant when checking error code of producer error tests