fixed msq fini with pthread_cancel
fixed tcgen and renamed suffixes of test source files