Added a test suite for the functions in the library.