Added Test for new window open API from js on page