Fixed integration test for local folder deletion

Using the meta data storage to check if the deleted object has been a file or 
directory. If it is an object, saved in the storage and the saved object has been
a folder, the FSEvent will be marked as a Directory Event.