Move user repo path to unittest block.
Add tests for path.