added tests for dialog and main windows