[tests] EntityCreator: added support for enum