testing if error would occur for a new page