Update tests to write debug svg files to output directory.
Allow Java code to override virtual methods from Avoid::Router().