Extended test, now also checks, if lock / unlock is working.
Added unit tests for thread and mutex.
Fixed includes and test function naming.