Add local components and test duplicate names