add unit test for the library.
add unit test for the library.