test cases for csv book writer and write a book reader