WFLY-4185 Only remove EJB's from the set of discovered external types
[WFLY-4185] - Changing test case.