Test file for threads