Fixed TWI interrupt enable bugs.
Test script changes