I uploaded the updated version of the test case. I also downgraded EHCACHE to version 2.4.3 to match with the version packaged inside hibernate-release-5.0.2.Final.zip.