Added fileEvent test case