got rid of unclosed channel IDE warnings
added testcase