Added more test cases
Simplify library object