Fixing test-controller.js failure