modified signature test.js