test-extract: Move file patterns settings to command line arguments