Fix tests failing if inotify not available