pages created fix with test

Change-Id: I30392006f3fe86d3409a530588b1bcb61b8e4e58
Merge "pages created fix with test"