working settings and log unit tests