minor changes to testspec, and jshint file

Library edits are only partial and can be removed.