add test if there is no current-dir