trying to fix some optional support brokenness daniel * testapi.c: trying to fix some optional support brokenness daniel