Fix reference to createGrid instead of testArray