it('should go to next year', () => {
        component.date = new Date(2017, 11, 1);
        component.nextYear();
        expect(component.date.getFullYear()).toBe(2018);
    });