fix bug in dependency of testing in evaluating decomposed var