test that close(pwiz) works