Revert changes to test.js