Add tests for old-ad parsing/printing and exprtree lookup.