restructure jpa test sample app