Looks onLaunched listener still be called even we test onSuspendEventTest separately. 
I will move the window handling logic in JS.