Send 404 on xml parse error + mocha test