Add unit tests to library.
Add unit tests to library.