InputTestDriver sleeps exactly until input loop emits all the test data

In order to avoid sleeping long, specify expected emits and then
InputTestDriver continuously sleeps very short so that input loop will emit all the test data.

Ah, okay. I understood the situation.
Maybe, we need a comment for `expected_emits_length`.