Added tests for i2c