Modified unitTest.js