removed doc error, fixed mock req