More tests, and new 'setup' phase for testing

As @kevinranks asked in #12, this PR adds an optional "setup" phase for each test. The "js-test" qUnit test generator already supports it, and to demonstrate I have added a few new tests to ```validate.yml```, increasing overall coverage.

Hope this helps! Again, as usual, please let me know if you have any questions or bump into any issue! :)