Added unit test and related logic.

Unit tests checks whether our sovereign can enter any state while being
completely neutral. Probably it will be good idea to jump around with
different actions and check whether we can go nutral again. In other
words if transition from one stat to another is possible.