max_depth test works for git_scanner