t7502-commit: add tests for summary output