Fixed tests generation for descriptors with relative paths.