Show more verbose error information in test framework