Added unit test for posting a book.