Add test for the StateMachine constructor.
Put the base.js tests into a QUnit group.

This is better than what I was trying to do by using structured names.