Add mock for /api/library-version method.