tests
flush disk after writing a block
bugfix