Add a unittest for the ExternalASTSource.