Added the test cases for jboss 7