Added test flags for different formats and sources, added test files