(tests) added regression tests for clipping

Clipping is coupled with two problems, one is drivers
not working with the stencil buffer and another is
performance problems when using stenciling to clip.

This added test covers the classic clipping cases
we have, except for the related issue of picking in
clipped spaces (which currently is not working)