update controllerTest.js