initial refactor and improvement of optimizer.js testing
initial refactor and improvement of optimizer.js testing

FokkeZB/alloy,NadsonFernando/alloy,WY08271/alloy,WY08271/alloy,indera/alloy,FokkeZB/alloy,jvkops/alloy,indera/alloy,bhatfield/alloy,indera/alloy,jppope/alloy,bhatfield/alloy,xavierlacot/alloy,NadsonFernando/alloy,jvkops/alloy,4talesa/alloy,jppope/alloy,bhatfield/alloy,4talesa/alloy,brentonhouse/brentonhouse.alloy,xavierlacot/alloy,mobilehero/adamantium,FokkeZB/alloy,xavierlacot/alloy,brentonhouse/brentonhouse.alloy,NadsonFernando/alloy,brentonhouse/brentonhouse.alloy,jvkops/alloy,WY08271/alloy,4talesa/alloy,mobilehero/adamantium,jppope/alloy,mobilehero/adamantium