test-hg: print a bunch of information

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>