Batch mode
Added test file