git-check-attr: Add tests of command-line parsing