added unit test for StateMachine that has log_transitions enabled.
enabled log_transitions lead to ImportErrors when using lazy translated verbose names: https://code.djangoproject.com/ticket/15084