Restored print-ast option in test script