testing jersey with hibernate