change getShader() -> getShaderi() as original is deprecated
removed expectedPositions field, as it wasn't being used