Added script to test threadsafety

Currently segfaults with more than one thread.  Perhaps this should be combined with LLTRACE to show exactly where python bytecode is being executed.
good catch!