added templatetags/ and tests.py