Fix JSHint complaints for tests
Merge pull request #516 from galfert/fix_test_jshints

Fix JSHint complaints for tests