Refactor basic static page tests