Add test for duplicate interface check