adding tests for the library