[TASK] Define entity inheritance for ProtocolItem
[TASK] Streamline TestDataCommandController concerning Note and Task entities