Cause Effect Graph Testing