refactor pthread test for new test suite layout