changed asyncPreOrder test description
State uses .enter and .leave methods, ported tests to mocha