Unittesting of the library