error tests throw if the code does not error.  removed extraneous argument from error tests
Merge pull request #2 from peterkhayes/master

error tests throw if the code does not error.  cleaned up error tests.