[JBIDE-14514] added unit-tests for creating app with embedded cartridges