fix tests for # of pages