testing just before reader writer threads