Configurations

The test case now passes, though it uses local db without cleaning it
for now.