Updates hooks test to check issue #223 doesn't happen again