Fix resize test, add write test