Improve PageManager tests