Add some tests around querying label relationships.  Also raise error when giving a query key which isn't conditions, order, etc...  This allowed finding of some other tests which hadn't been switched over