test branches
finish both reader/writer for 4 threads