Fix duplicate variable causing test failure.