In the testcase, removing the explicit 5.0.7.Final reference from the pom.xml will revert to using the EAP bundled version of Hibernate.