fix test for joining clusters; add portable method for removing temp data