Add a test for the rename system call.