fixing up test to pass jshint
Merge pull request #242 from diwu1989/jshint

fixing up test to pass jshint