Update test.js

Retesting original debugged code