channels: added tests for templatetags.