string: testing, fixed bug in SuffixTree.__contains__

Move all tests to single _string_test() function.
bugfix: forgot to update current node in SuffixTree.__contains__
Enchance: extracting a substring is expensive; use .startswith() method
to lessen the number of substring extractions.