Test for last page function.