test for duplicate component