added a test for single add event for single file