Fix unittests: IF doc, default minimum needs, map hash.
Merge pull request #1419 from ismailsunni/unit_test

Fix unittests: IF doc, default minimum needs, map hash.
Merge pull request #1418 from timlinux/develop

Test fixes for 2.2 release