We are missing a test case for `is_gray_2d` or did I overlook it?