Add tests for EventedBufferedInput. Work in progress.