Add support for global.config
Add test data and tests for task1 and task2