This adds test to make sure correct behavior of lint - The first test's option variable is not a temporary variable - The second test does not make usage of `take()` - The third test makes usage of `take()` and uses a temporary variable
y
This fixes the errors occuring while running the ui tests
This implements a machine applicable suggestion to any matched usage of `.as_ref().take()``