added function to test of launching window