-- added test and schema check for plugin function
-- just adding some tests for getting a channel