WFLY-2739: BeanDeploymentArchive for external (WFLY) modules added twice

I hope it is clean now. These are only test cases covering the fix. Thank you