Add tests for admin2 templatetags and fix bug.
Merge pull request #148 from mrben/admin2-tags-tests

Add tests for admin2 templatetags and fix bug.