[URIGen] Testing CloseWindow Function