added test input.js