pothos-library: unit tests and threadpool registration