Merge "Add test for thread_local keyword."