Adds sorting and page list test