array manip bug test