committing changes to contollers.js - updated test file