Added an abstraction for scissor tests.