'Tests if the outstanding tasks variable is exported correctly.'

def testExportedFunctions(self):

    pool = threadpool.ThreadPool.Factory('test_pool3', 10)
    for i in range(10):
        pool.AddTask((lambda : None), ())
        self.assertEqual(stats.STATS.GetMetricValue('test_pool3_outstanding_tasks'), (i + 1))
