java classes for testing jpa with mysql sample database