Minor changes

Avoiding the mocha deprecation warning, and removed an extra comma. As the title says, this is small stuff.