Remove useless condition : new_state always equals to_state
Add test for AfterTransitionEvent