Added methods to get all categories and book types. Added tests for
them.