Scrubs out unused ajax template.
Adds tests for the pagination.