Test for ImportBeanDefinitionRegistrar double scan

Issue: SPR-12334