Unit tests for static_pages views