add local config
adjust config, improve coverage, add observer tests