Add basic pthread sanity check test case

Issue:		#13
Reported by:	vinies