Tiny error fix to tree generation test

fixed initializeResources so that it uses Diminfo instead of the
outdated variables.