simpler error printing in test suite