it('should pass validation when email does not exist', () => {
        const email = 'lex@test.com';
        spyOn(EmployeeModel, 'getItem').and.returnValue({email: 'test@test.com'});
        spyOn(EmployeeResource, 'getEmployeeByEmail').and.returnValue(Promise.reject());
        element = render();