A stochastic pattern generation and optimization framework for variation-tolerant, power-safe scan test | IEEE Conference Publication | IEEE Xplore