(f) fixed JSCS auto test generation function