add test for missing blog post views. also pep8