Add unit testing codes for testing the methods in the library.
Add unit testing codes for testing the methods in the library.