pthreadpool: test pthreadpool_tevent_max_threads() returns the expected result