Changed the test a little to make it work, it was testing some of the
transitions incorrectly, and I added into the xml test the
.addTransition() that should have been there. I also made sure that the
xml is printing out that way.