Spruce up test configuration
Update mocha and mongoose
Merge branch 'feature/tests-config' into develop