test rewrite without node, see whether work on server