Fixed a few jshint issues.

Made the parse tests clearer.
Added a simple test for timeouts
Merge pull request #144 from danwrong/feature/timeoutTests

Feature/timeout tests