fix toolsJS/{fast,full}OptStage::test