Fixing up the initial tests and JSLint rules