added config tests
set listenaddr from config
set daemon from config