Adding a few mocha tests
moved some config/test files around and added some tests