test-init: replace 'echo -n' with 'printf'
The '-n' argument to echo is a non-standard extension that isn't
supported on Mac OS X 10.6.
http://example.com/no/anchor, branches: (None, [])
http://example.com/an/anchor, branches: ('foo', [])
http://example.com/no/anchor/branches, branches: (None, ['foo'])
http://example.com/an/anchor/branches, branches: ('bar', ['foo'])
http://example.com/an/anchor/branches-None, branches: ('foo', [])