Revert "Revert "Revert "Improve testing on static pages"""

This reverts commit 7d922460e2d3f041548fdc09485a77ac4e94cbb3.
Revert "Revert "Improve testing on static pages""

This reverts commit 548866119af074fffcf0953d5d4a2de231454d2c.
Remove duplicated code for testing

Test added for ApplicationHelper function full_title reused for testing
without duplication of code