Add tests for i2cRead and i2cWrite