Add tests for timed batches