fixing tests and jslint headers