Fixing tests and behavior of ShaderProgram for NVidia cards.
AMD and NVidia cards may have slightly different behavior for link operation.