Added test for threads_specific_ptr<void>.
avoid call to boost::get_system_time() when relative is true.