Added Unit test for libraries