adding jasmine unit testing