git: use new-style test