Finally figured out a way to test that a texture-scale node using NEAREST that is upscaled using a transform node doesn't use NEAREST but LINEAR.