changes to i2ctest code