parsing config files and passing configs to modules
tests for config dict