Make tests run on JBoss 7.1.1, Wildfly CR1 and Glassfish 4.