Configuration per domain
Fixed tests for global config