some unit tests added for BooksController