fix for material testing on nightlys
Merge pull request #766 from scopatz/x

fix for material testing on nightlys