fix test for books controller