Fixed test_fsm for python < 2.7
better output in test_fsm()
Merge remote branch 'lukaslueg/testfsm'