CreateEntityCommand tests as well as Diagram tests