modifications for tests ...
Fixed exception after tests.
Disabled update dialog during tests.