Added methods to sync-channel, and a test suite