[Test] move refreshing checks from canvas to control & check if control publish onRefresh event instead of checking if control is subscribed to onInvalidate event