add basic tests for query-channel