Tests _getPath