main-test.js fixed for Angular 1.2.1

Fix for unit tests