Added unit testing with jasmine