TWI test functions for slave
Some API changes
Test file changes
API change and TWIE bug fixed