improved test error reporting
Merge pull request #41 from tpolecat/asserts

improved test error reporting