Add Query service tests

- Fix some Channel service tests
- Add Channel.leave() test