Refactor the testcase for JBQA-7354 

The commit here refactors the testcase which was introduced in PR https://github.com/jbossas/jboss-as/pull/3641, to test the EJBCLIENT-34 (scoped EJB client contexts) feature more accurately.