Test with DynamicVariable