test: print ast on failure so we can debug on IBM JDK