Add test
for handler ordering

Event handlers are run in order of definition

for your changes.Lines starting# with '#'
will be ignored, and an empty message aborts the commit.#On branch master# Your branch is up - to - date with 'origin/master'.##Changes to be committed: #modified: test / xal.test.js## Changes not staged
for commit: #modified: config.json# modified: lib / xal.js# modified: test / testAgent.js## Untracked files: #lib / handlers.js# npm - debug.log# util.js#
Reinitialize state on xal.stop()

for your changes.Lines starting# with '#'
will be ignored, and an empty message aborts the commit.#On branch master# Your branch is ahead of 'origin/master'
by 1 commit.#(use "git push"
    to publish your local commits)## Changes to be committed: #modified: lib / xal.js## Changes not staged
for commit: #modified: config.json# modified: test / testAgent.js## Untracked files: #lib / handlers.js# npm - debug.log# util.js#