add basic set of tests and jshintrc