Update test-i2c.js

fixed wrong reference to data