Remove hardcoded config in routes and snippet-data tests and added reusable config for tests.
Every route test component has injected mongoose to drop the database after the tests for the component are done.
Now uses the config file from config folder.
Removed unused comments. Uses the created config file. Added to every required component the mongoose module.