Fix #781: Set proper root dir when partesting
Merge pull request #784 from gzm0/fix-partest

Fix #781: Set proper root dir when partesting