persistence unit test, first step to implement cache strategy