Don't print comment for the same file more than once in FFI
Allow specification of output directory for test generation

Defaults to 'tests'