Check pixels in unit test.