-- starting to fix breaking tests after refactor
-- with unified plugin-system, cleaning up code and tests
-- removing duplicate get-channel and get-kernel-channel functions