Fix failing setting tests.

- Manually initialize subprovider settings, as mock widgets/components do
  not do that.
- Open context before trying to move settings from/to widget with
  context handler.
Test settings when setup.py test is run.