fix jshint style
fix unit test spec