Add thread safe tests to HugeArrayTest