Add a test for thread args