fix tests, add stub test for query-data