Test refactoring. Added tests for library.to_h and library.roate
improving the Book test. Adding some considerations about the Book implementation
updated library tests. working on a more fexible interface
updated library#rotate