add test for extracted root dir