Text this: Testing of the Ti foil with TiN coating as an exit window of a pulsed electron accelerator