Fix page functional tests bug