Fixed settings class. Added log action into tests.