test: simplification: use 'hg init hg_repo'

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
test: turn on debugging only when it can be used

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
test: fix 'push not create bookmark'

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