fixed tests in 2.7, changes Pages.all interface