test_app.dart : use a Future to delay the disposal of the window to workaround #77