Update restTest.js