Make test harness thread safe.
Add macros to create arrays, hashes.
Test thread safety.
Reduce sleep.