Add test for 'test_interrupt' hook (#207)