[seq] add unit test, and fix some bugs of first commit.
[array] suppress 'memcpy' warning by adding header 'string.h'
[make] add lib to the dependency of tests.