Jasmine testing and eco templates