2i test framework

Change-Id: Ia08f7a2d78b2f6e57bb1967fdf140cd7747b9770