fixed jshint

now including backend folder and more consistent across folders
fixed backend unit test

assert and expect wouldn't export with the previous configuration. While
it would still be possible to export them globally, I'd rather not
polute the global space. See this [SO
discussion](http://stackoverflow.com/questions/24123516/jshint-exported-
directive-not-working/24142051)
Improved backend unit test

now more consistent with other tests in the repo.