Fixed errors in JPAExcursionDAOTest and trip validation.