workaround with setTimout. Dunno why test fail, they do not in autotest mode, after first run. Must be something with loading the external libraries