Added spec tests for main. Added sample tests to main.js. Added underscore functionality to angular