JShint bug fix for unit tests assertions

jshint doesnt like statements ending with no functions such as 'should.be.ok' while shouldjs doesnt support 'ok' as a function so 'should.be.ok()' is invalid. Updated assertions to fix the problem and for jshint and conform with the unit tests.