Testing stencil buffer