Ensure test db is created/current before mocha task

implemented in latest commit