Implements first test for Sobel operator.