Add tests for CopyFile and RecursiveCopy. Also add functions to test_util to facilitate those tests.