Added logic to pass issueBook test case