ensure that prepublish script is run prior to tests