[9.x] Test for WFLY-3144 - test failover also with CDI

This should pass once https://github.com/wildfly/wildfly/pull/6097 is comitted.