[tree] FIX tests for MaterializedPath after previous commit