Test implementation of Array