tests: split master i2c functions to separata package
feat: handle ack in rx, tx
feat(tx): remove unnecessary bit index
tests: add tx testbench