Add a test on res.sendFile if path is null

It was a missing line in the coverage, res should be covered to 100% with this one.
I don't know if there a better way to assert this part.
use mocha, not try-catch