Bug 851320 - private-browsing-supported/test-page-mod fails

Used the proper `open` method and ensure everything is close and the window is in the private mode expected.