diff --git a/tests/server/fileSystem.js b/tests/server/fileSystem.js
index <HASH>..<HASH> 100644
--- a/tests/server/fileSystem.js
+++ b/tests/server/fileSystem.js
@@ -2,7 +2,6 @@
 
 // Module dependencies
 var path = require('path');
-var fs = require('fs');
 var assert = require('chai').assert;
 
 // fileSystem.js
@@ -81,9 +80,9 @@ describe('fileSystem', function() {
 
     it('Should be able to copy a file', function(done) {
       fileSystem.copy(path.join(__dirname, '/fileSystem/.session'), path.join(
-        __dirname, '/fileSystem/.sessionCopy'), function(error) {
+        __dirname, '/fileSystem/session/.sessionCopy'), function(error) {
           if (!error) {
-            fs.unlink(path.join(__dirname, '/fileSystem/.sessionCopy'), function(error) {
+            fileSystem.rmdir(path.join(__dirname, '/fileSystem/session'), function(error) {
               if (!error)
                 done();
             });
Test copying a file to a missing directory

Copy function is capable of dynamically creating the directory if it does not exist yet. This functionality wasn't tested.