added some tests to BookController