Added sprintf

Added Sprintf in modules
The function is used in Utils.js and is declared in test_helper.js