chore(tests): Made initital unit tests and jshint pass