Fixed failing MessagePagination tests