Consolidation of test scripts