With test

I have added a test for the application, using jasmine library.