Split out the moving stuff tests from the others. This also found a missing test case, where I then fixed a bug (unified behavior when you move a file to a directory that does not yet exist).