test Add() is thread-safe