Add test code for using of GLSL shader.
Move curve to singleton_edge.