Fix bug in ArrayPage and include more tests to check for order of calls in Page.