conf tests, small bugfixes found in tests