[mycpp] Fix bad test, caught by IndexError change