|#927 +Shibha| Fixing jasmine test and adding jasmine test for locale controller.