added new test case to ant script, and changed the way it does error formatting.