adjust test code for non-repeated index buffer
don't hide elem array buffer when rendering cube for maze