adding in blanking of pages on event of end of test