Refactor error message tests with custom matcher
Refactor page titles with custom matcher
Refactor tests - custom title matcher
Factor checking main heading (h1)