Re-implement unit tests in BookDaoTest class.