CORE-4927 Fixed tests to use path instead of ID.