Add test for init bare repository