Added further tests for empty lists and arrays.
Changed functionality so empty arrays/lists when converted to a seq or a tuple expand to nothing.