Added model test and jpa2.2