fix(test/makeTestCases.cpp): out-of-bound