Completed test for both book types and category