updated refreshing of expression test scope variables.