Fix CNN test case.
Pass correct indices.