added /library endpoint to make test pass