Manage mocha dependency with npm; update to 1.9.0
Update specs for mocha