SRAM test script fixes