Added test for res.