added logging, fixed post tests for config file