tests for main.models
some test coverage for main.views
test some of the templatetags
Merge pull request #5 from ccnmtl/tests

Tests