Implement class StateChangerImpl and all state changer test can pass.