+ YAZ_CHECK(tl_query(zh, "@and "
+ "@attr 1=54 eng "
+ "@and @attr 1=1003 jack @attr 1=4 computer", 2));
+
+ YAZ_CHECK(tl_query(zh, "@attr 1=leader 00366", 2));
+ YAZ_CHECK(tl_query(zh, "@attr 1=leader2 nam", 12));
+ YAZ_CHECK(tl_query(zh, "@attr 1=1003 jack", 2));
+ YAZ_CHECK(tl_query(zh, "@attr 1=1003 jack", 2));
+ YAZ_CHECK(tl_query(zh, "@attr 1=1003 collins", 2));
+ YAZ_CHECK(tl_query(zh, "@attr 1=1003 @attr 3=1 collins", 0));
+ YAZ_CHECK(tl_query(zh, "@attr 1=4 @attr 3=1 program", 0));
+ YAZ_CHECK(tl_query(zh, "@attr 1=4 @attr 3=1 to", 0));
+
+ YAZ_CHECK(tl_close_down(zh, zs));