Added test for optional pages