updated documentation
applied jshint rule ignore for test file