simple test on pagination of history