Suffix tree substring query tests. QuickCheck is the best thing ever.