Add --test switch for debugging CONSTRUCT queries