Fixed hooks test on windows. Tmp.