Fixed the handling of certification in fallback mode + unit tests
Test config fix