Update test pagination

Fixes the test so that it expands the date range before trying the
search. This increases the likelihood it has > 50 messages which it
requires to do the test. If it doesn't, then it fails with a helpful
error message.

Fixes #148

r?