test adding pages directory