CLDIDE-2092 Added tests for snippets with factory 2.0