Fixed DirectoryWatcherTest

Signed-off-by: Ondrej Skopek <skopekondrej@gmail.com>