tests cube array