tests: use an external config file for the rewriter test

Signed-off-by: Jeff Mahoney <jeffm@jeffreymahoney.com>