testing weak_thread_safe.hpp