some basic test for jpa