tests: split master i2c functions to separata package
feat: add clear_buffer input to tx
tests: add slave testbench