Moved all test data into a separate dir.
Fixed some jshint complaints in the tests.