Added test for entity name update