Thread: Added test for synchronized_value + synchronize free function

svn path=/trunk/libs/thread/; revision=83266