Removed unnecessary toArray in seq.slice, and added a test to verify the lazy operation of slice wherever possible
Renamed seq.head -> seq.first