Improved unit testing for textureslot.use checking for None material.
Fixed bug in process.