tests: add tests of LongestIncreasingSubsequence
#1660
Merged
LongestIncreasingSubsequence
#1660