Dynamic LCS Algorithm

Also some test updates