Added three tests for Cord
Fixed a bug in Cord (split was duplicating the tail)