[tests] window -> global