Fix testcase.

It failed because the directory where change happened triggered a
notification within the second before, so the event was skipped.