jshint/jshint — pull request #359 by WolfgangKluge (2011-11-24 23:09:42+00:00)
Title: Test improvements

Here are some test improvements based on code coverage output.

While adding the tests, I also noticed and fixed 2 bugs (infinite loop and attempt to read property of null)