testing the collector
tested the locked_book_spec
added an error class, more book tests
tested the writer. bug fixing