Add a new test which checks that atomically replacing a file that is being monitored by GFileMonitor produced the expected events. The test can easily be expanded to cover other file monitoring scenarios.