Externalize db config for tests

Moves config of test to external file. This enables to e.g. test a production system or test on different development environments