Add a test for add page method fail [ci skip]