Refactored static page tests