test for save directory