Add unit test file for rewrite-engine (for real)