Make tests dir into package, use relative import for threadpool