dictadapter: fix unit tests related to it. ref #1972
tests: add the possibility to run tests without internet (use NONETWORK=1 make test)