Thread role statement attributes now generate a real attribute, and we test to ensure it gets added to the proper compound statement with a test case.