Include test case source in hooks