Added more tests for the books_controller to improve the code coverage.