Test code added for WB-111 BookFactoryTest