Added unit test for async fsync to improve unit test coverage.