Added test to update var feature.