fixed: res.send() + extend unit test