Added functional tests for copying a job