Adding a test to document file event order