add try-finally construction for some test for closing Firefox windows purpose;