[test] Implement testing of Sobel operators
This series adds support for testing kernels. These type of tests are hard because of the many dimensions:
- kernel layout: coefficient values, anchor point,
- input layout: width, height, channels, padding bytes,
- border strategies, and
- test element values.