Testing proper construction of a PEGEX instance.