Add a test of search in batches

 - Not very thorough :(