bugfix for product creation
Refactoring getMetaModel, providing a test suite