Writing templatetags tests