TestView with stateTransition