unit test for divide pages fix attempt 2