Testing write queue shared_ptr