[8.x] Add tests to cover WFLY-2732 and

and previous feature to support @DependsOn in session beans

master: https://github.com/wildfly/wildfly/pull/6489
JIRA: https://issues.jboss.org/browse/WFLY-2732