How to setup Mocha in Node to work with ECMAScript 2016 using Babel

I got the main pointers from this SO question, this blog post, and the official Mocha documentation (which however does not deal explicitly with Babel and ECMAScript2016). This post was also marginally useful.

Main points:

Refer to my obj-properties module code for a working testing setup.