Add defsnippet test for load-shader, shader and reset-shader functions.