task 152 - i2c test coverage

This PR takes coverage from 14.7% to 95.1%