Test for adding pages