[inotify] fix done receive go routine

I do not remember why I did like this...
[test] add remote dir which has files

and a few tweaks.