Add variance test script