Inputbuffer + testbench