fix tests for containers.thread