adds functioning c extension threading test