The problem is in the way jndiNames array is constructed if beanName or mappedName attribute of @EJB annotation is not set.
For following SLSB with no-interface view...
... EJBInjectionEnricher tries to lookup following JNDI names:
Parts like "java:global/test.ear/test/" and "java:global/test/" are hard coded. So if the name of the test archive is not "test" the SLSB is not found.