CLDIDE-2043: fix tests for nonencoded factory builder