Fixed unit tests for new settings directory creation.