Custom git hooks and testing