fixed closing of browser
added new scenarios