Use mocha's "beforeEach" and "afterEach"

Use construct/destruct methods to make the individual test code a bit cleaner