Fix tests, initial tests for config consistency checker