CDITCK-334 Fix tests obtaining an instance of BeanManager from JNDI