hiberntate jpa test for learning