Could you make a test for this case in app_window_manager_test.js? thanks.