Fix relative paths for datasource handling.
Emit started event for tests to hook into.
Add tests for creating copytasks, clearing copytasks.