test: add test to bookdao