Added test for calling updatebook on put /api/library