Bug 1032327 - [Settings] Fix unit tests with a newer mocha r=cctuan