Add proper directory handling for testing tasks
Add nose config, add MergeFilesTask test, fixes in MergeFilesTask