Added some i2c testing code.