added newWindow command with test specs
change tab focus automatically after close command, added test for that