fixed missprint, added ThreadSafety test