testMBeanDependsOnEJB tests that an mbean can depend
on an ejb. All classes are loaded, the mbean is deployed, checked
that it has not started, then the ejb is deployed, and the mbean
is checked that it has started.
exception: Exception - if an error occurs