Improve manual window opening test case

Before window is closed, opener window is changes to load "testpage.html".
This is for testing that window.opener.location works.

Doesn't really work in master yet. Only with newWebView but as we already have this test case available I think that this doesn't harm in master [diff in newWebView is already big enough :)].