update: DiagramEntity unit test