tests(karma&jshint) improvements
Merge pull request #4 from blnight/tests_improvements

tests(karma&jshint) improvements