Add new asserts to Tester

Extend assertError to check for the returned error message: compare the returned 
error string to the expected string, or to the returned object.