Added pthread test module

The pthread folder holds releated testing
files, including a new makefile to build.