quad2d testing