Adding validation checks to page_spec, and adding more context for test cases