Refactored the Page verification so that it takes a Validator as a dependency and also updated the mock classes so that the verification registering is independent to the value setting.