generic: add test for fsync after renaming and linking special file