According to the exception description [class com.artwell.sampleordersheet.entity.StyleAndInstance] uses a non-entity [class com.haulmont.bpm.entity.ProcDefinition] as target entity in the relationship attribute [field process], most probably your test setup does not include BPM app component. See comments in your test container class, for example:
public class SalesTestContainer extends TestContainer {
public SalesTestContainer() {
super();
appComponents = new ArrayList<>(Arrays.asList(
"com.haulmont.cuba"
// add CUBA premium add-ons here
// "com.haulmont.bpm",
// "com.haulmont.charts",
// "com.haulmont.fts",
// "com.haulmont.reports",
// and custom app components if any
));
// ...
i add bpm.
it’s also alert:
uses a non-entity [class com.haulmont.bpm.entity.ProcDefinition] as target entity in the relationship attribute [field process].