Add code to test for duplicate component given EntityID.