Updated JS tests that were still calling open instead of open2