all test cases done for tail.
all test cases done for uniq.