Update and rename test.js to delete