Better testing of revision information parsing

This includes PHP signed commits (issue #522).

Signed-off-by: Michal Čihař <michal@cihar.com>