Add coverage config
Pep8 fix
Add tests for the TemplateListingView class