ipairs() tests moved to correct location.
Fix for iterating over negative and non-integer numeric keys with pairs().