Unit test for StateMachine with log_transitions enabled.

enabled log_transitions lead to ImportErrors when using lazy translated verbose names: https://code.djangoproject.com/ticket/15084