Change the init command to use yaml by default and adapt test