[koly]add unit test for library & use BDD
[koly]Added integration test for library CRUD