semiconductor test optimization