fixed unit tests to use 1-based page indexes