Added test with zero long written and read