testing store and get pages from db