TST: fix path for getting pickles wrt (GH8431)