webpage.evalute should be callable even a page is not loaded. part 2

Fixed tests to avoid to have multiple windows at the same time.