Fix jboss tests