Test and minor changes.

1. Added 10 tests, 1/5 of the planned ones.
2. Fix a bug in importing specific settings and finalize settings.
3. Turn off south migration for test running as it's faked on my machine anyways.