[testtextureutils] - cleaned up the test by utilising some smart gtest macros - taken from superseeded PR of smspillaz - thx