Update test.js

Made some really cool changes