Cleaned up LCS unit tests, and bugs found thereby

Tail ends of more than one element on a given hashlist now work.
Removed manual debugging crud from LCS