ensure threading is enabled for tests