sml: support for packages in mock model factory