[bug] Fixing channel send method, adding tests