fix local hooks test
0.2.2