added longest subseq test