test sliceswriter