test(pagination): clean some injections

Closes #1895