add some test with write-behind queue