testhal for i2c implemented