made tests for bookRepository and genreRepository