input: es_out: add unit test for buffering
The test currently checks that buffering is correctly handled, but it will also check timing for startup, controls, subdecoders, and drain behaviour in the future.
The goal of the MR is to have the main initial testing infrastructure for the es_out being merged and used.