added unit test for Book