testing uploadFile - fsStub