fixed i2c test compiler error